let config = {
    isShow: true,
    name: 'systemSetAddOrUpdate',
    labelWidth: 120,
    form: [
        { type: 'input', dataType: 'text', key: 'name', label: '系统名称', icon: '', disabled: false, placeholder: '请输入', showwordlimit: true, maxlength: 100, default: '' },
        { type: 'input', dataType: 'textarea', key: 'remarks', label: '系统描述', icon: '', placeholder: '请输入', maxlength: 200, autosize: { minRows: 2, maxRows: 5 }, default: '' },
        { type: 'slot', label: '系统logo', name: 'logoDocId', key: 'logoDocId' },
        { type: 'input', dataType: 'text', key: 'visitAddress', label: '访问地址', icon: '', disabled: false, placeholder: '请输入', showwordlimit: true, maxlength: 100, default: '' },
        {
            type: 'select', key: 'classify', label: '产品类别',
            option: [{ label: '不动产登记业务', value: '不动产登记业务' }, { label: '商品房&存量房业务', value: '商品房&存量房业务' }, { label: '其他业务', value: '其他业务' }],
            textAlign: 'left', placeholder: '请选择', default: ''
        },
        { type: 'input', dataType: 'text', key: 'contactsPerson', label: '产品联系人', icon: '', disabled: false, placeholder: '请输入', showwordlimit: true, maxlength: 50, default: '' },
        { type: 'input', dataType: 'text', key: 'telephone', label: '联系电话', icon: '', disabled: false, placeholder: '请输入', showwordlimit: true, maxlength: 20, default: '' },
        { type: 'radio', key: 'status', label: '状态', textAlign: 'left', default: 1, radioData: [{ lable: '启用', value: 1 }, { lable: '停用', value: 0 }] },
    ],
    rules: {
        name: [
            { required: true, message: '请输入系统名称', trigger: 'blur' }
        ],
        classify: [{ required: true, message: '请输入产品类别', trigger: 'change' }],
        visitAddress: [{ required: true, message: '请输入访问地址', trigger: 'blur' }],
        // telephone: [
        //     { required: true, message: '请输入联系电话', trigger: 'blur' },
        //     {
        //         validator: (rule, value, callback) => {
        //             if (!icu.util.jude(value, 'phone')) {
        //                 callback()
        //             } else {
        //                 callback(new Error(icu.util.jude(value, 'phone')));
        //             }
        //         }, trigger: 'blur'
        //     }],
    },
    grid: { xl: 24, lg: 24, md: 24, sm: 24, xs: 24 },
    event: {} // 动态绑定事件
}

export { config }